{% extends "base.html" %}

{% load widget_tweaks %}

{% block content %}
<form method="post">
    {% csrf_token %}
{#    {{ route_figs_form }}#}

    {% for hidden_field in route_figs_form.hidden_fields %}
        {{ hidden_field }}
    {% endfor %}

    {% for field in route_figs_form.visible_fields %}
        <div class="form-group">
          {{ field.label_tag }}
              {% render_field field class="form-control" %}
          {% if field.help_text %}
            <small class="form-text text-muted">{{ field.help_text }}</small>
          {% endif %}
        </div>
    {% endfor %}

    <input type="submit" name="routes" id="routes" value="Выбрать">
</form>
{% endblock %}
